<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view encoding="UTF-8">
        <h:head>
        	<link href="#{request.contextPath}/styles/application.css" rel="stylesheet" type="text/css" />
			<link href="#{request.contextPath}/styles/forms.css" rel="stylesheet" type="text/css" />
        </h:head>


        <h:body style="background-color: #355F86;">
			<div id="top" style="min-height: 50px; text-align: center; display: block; width: 100%;" >
				<h:graphicImage value="/images/SGC-Logo.png" />
			</div>
			<div style="float:left; clear:right; padding-left:2px; padding-right:2px; width:20%; min-height: 500px;">
				
				
			</div>
			<div style="background-color: #FAF1D2;float: left; width: 50%;">
				<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();"/>  
              
				<p:dialog modal="true" widgetVar="statusDialog" maximizable="false" minimizable="false" resizable="false"
				        draggable="false" closable="false">  
				    <p:graphicImage value="/images/ajax-loader-bert.gif" />  
				    <center><b><h:outputText value="Carregando"/></b></center>
				</p:dialog>  
					
				<ui:insert name="body" />
			</div>
        </h:body>

    </f:view>
</html>